package com.tierstall.shared;

import java.io.Serializable;
import java.util.Date;

public class SearchQuery implements Serializable {
	
	GruppeDTO group;
	UserDTO user;
	String leiter;
	Date start;
	Date end;
	TierType type;
	TierGender gender;
	String origin;
	String Stamm;
	int alter;
	
	public SearchQuery(){
		this.alter = -1;
	};
	
	public SearchQuery(GruppeDTO group, UserDTO user, String leiter,
			Date start, Date end, TierType type, TierGender gender,
			String origin, String stamm, int alter) {
		super();
		this.group = group;
		this.user = user;
		this.leiter = leiter;
		this.start = start;
		this.end = end;
		this.type = type;
		this.gender = gender;
		this.origin = origin;
		Stamm = stamm;
		this.alter = alter;
	}
	public GruppeDTO getGroup() {
		return group;
	}
	public UserDTO getUser() {
		return user;
	}
	public String getLeiter() {
		return leiter;
	}
	public Date getStart() {
		return start;
	}
	public Date getEnd() {
		return end;
	}
	public TierType getType() {
		return type;
	}
	public TierGender getGender() {
		return gender;
	}
	public String getOrigin() {
		return origin;
	}
	public String getStamm() {
		return Stamm;
	}
	public int getAlter() {
		return alter;
	}

	public void setGroup(GruppeDTO group) {
		this.group = group;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}

	public void setLeiter(String leiter) {
		this.leiter = leiter;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public void setType(TierType type) {
		this.type = type;
	}

	public void setGender(TierGender gender) {
		this.gender = gender;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public void setStamm(String stamm) {
		Stamm = stamm;
	}

	public void setAlter(int alter) {
		this.alter = alter;
	}
	
	
}
